package cate.common.table.item.favorability.sheet;

import cate.common.table.ESheet;
import cate.common.table.item.favorability.row.FavorabilityStarRow;

public class FavorabilityStarSheet extends ESheet<FavorabilityStarRow> {
    @Override
    public String getSheetName() {
        return "道具使用";
    }

    public FavorabilityStarRow getRow(int star) {
        for (FavorabilityStarRow row : getList()) {
            if (row.star == star) {
                return row;
            }
        }
        return null;
    }
}
